﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTracker.Models.Common.ErrorLog
{
    public static class ELErrorDict
    {
        //try later SortedDictonary<>
        public static readonly Dictionary<int, string> DbErrorText_Type = new Dictionary<int, string>
        {
            {10, "IsExist"},
            {11, "IsNull"}
        };
        public static readonly Dictionary<int, string> DbErrorText_Models = new Dictionary<int, string>
        {
            {10, "User"},               //Root Model
            {11, "User>Login"},
            {20, "Organization"}        //Root Model
        };
        public static readonly Dictionary<int, string> DbErrorText_Arguments = new Dictionary<int, string>
        {
            {10, "@UserId"},
            {11, "@OrganizationId"}
        };
    }
}